package day0224;

import java.util.Arrays;

public class Test6 {
    public static void main(String[] args) {
        int[][]  a={   new int[2], new int[2], new int[2]   };
        //每种数组都会有默认值。
        //int  ele= a[第几个小数组][小数组的第几个元素];
        int  ele= a[0][0];
        System.out.println(ele);
        System.out.println(a[0][0]);

        a[0][0]=  (int)(Math.random()*100);
        for (int i = 0; i < a.length; i++) {
            System.out.println(Arrays.toString(a[i]) +", ");
        }
    }
}
